package cn.tedu.test01;

import org.springframework.stereotype.Component;

@Component
public class Phone {

    public Phone(){
        System.out.println("Phone对象被创建了");
    }

    public String getName(){
        return "华为手机";
    }
}
